﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace CommonClasses
{
    [DataContract(Namespace = "http://www.gdi.com/operacao")]
    public class Operacao
    {
        [DataMember]
        public int ID { get; set; }

        [DataMember]
        public Documento Documento { get; set; }

        [DataMember]
        public Equipamento Equipamento { get; set; }

        [DataMember]
        public int UserID { get; set; }

        [DataMember]
        public decimal Balance { get; set; }

        [DataMember]
        public decimal Cost { get; set; }

        [DataMember]
        public DateTime DataOperacao { get; set; }

        [DataMember]
        public string Type { get; set; }
    }
}
